package com.star.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * com.star.pojo
 *
 * @Description: 用户实体类
 * @Date: 2020-08-05 16:37
 * @Author: LENSTAR
 * @URL: http://123.57.161.114:9000/
 */

//用户类
@Data
@NoArgsConstructor
public class User {
    private Long id;
    private String nickname;//昵称
    private String username;
    private String password;
    private String email;
    private int type;
    private String avatar;
    private Date createTime;
    private Date updateTime;

    private List<Blog> blogList;//博客集合
}